with open("D:\python\data.txt", "r",encoding="utf_8") as file:
    # content = file.read()
    # # print(content)
    # print(file.readline())
    # print(file.readline())
    # print(file.readlines())
    lines = file.readlines()
    for line in lines:
        print(line)
# file.close()